$(document).ready(function(){
			//insert validate
			$("#node-form").validate({
				rules:{
					txtName: {
						required: true,
						minlength: 2
					},	
					image:{
						required: true
					},
					taDescript:{
						required: true,
						minlength: 5						
					}
				},
				messages:{
					txtName:{
						required: 'Projecr name can not be blank.',
						minlength: 'You must enter more than 2 letters in "Project name" field.'
					},					
					image:{
						required: "Image is not allow empty."
					},
					taDescript:{
						required: 'Description is not allow empty',
						minlength: 'Description to short'
					}
				}
			});
			//update validate
			$("#node-update-form").validate({
				rules:{
					txtName: {
						required: true,
						minlength: 2
					},					
					taDescript:{
						required: true,
						minlength: 5						
					}
				},
				messages:{
					txtName:{
						required: 'Projecr name can not be blank.',
						minlength: 'You must enter more than 2 letters in "Project name" field.'
					},					
					taDescript:{
						required: 'Description is not allow empty',
						minlength: 'Description to short'
					}
				}
			});
		});